﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.Collections.ObjectModel;

namespace OttawaTourMap.Models
{

    public class StopDetailsModel
    {
        private ObservableCollection<StopDetails> _stopDetails = null;
        public ObservableCollection<StopDetails> StopDetails
        {
            get
            {
                return _stopDetails;
            }

        }
        public StopDetailsModel()
        {
            _stopDetails = new ObservableCollection<StopDetails>();
        }

        public void addToCollection(StopDetails tourDetail)
        {
            _stopDetails.Add(tourDetail);
        }

       
       
    }
   

    public class StopDetails
    {
        public StopDetails()
        {

        }

        public StopDetails(string title, string thumbNailUri)
        {
            _pointOfInterestTitle = title;
            _pointOfInterestImageURI = thumbNailUri;

        }

        private string _pointOfInterestTitle = null;
        public string PointOfInterestTitle
        {
            get
            {
                return _pointOfInterestTitle;
            }

            set
            {
                if (value != null && !value.Equals(_pointOfInterestTitle))
                {
                    _pointOfInterestTitle = value;
                }
            }
        }

        private string _pointOfInterestImageURI = null;
        public string PointOfInterestImageURI
        {
            get
            {
                return _pointOfInterestImageURI;
            }

            set
            {
                if (value != null && !value.Equals(_pointOfInterestImageURI))
                {
                    _pointOfInterestImageURI = value;
                }
            }
        }
    }
}
